package inter_home;

/**
 * @classname:Student
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/3 21:28
 * @version: 0.1
 * @since:1.8
 */
public abstract class Student {
    private String name;
    private int id;

    public Student() {
    }

    public Student(String name, int id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void study();
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
